import type { ISearchConfig } from '@/components/page-search'

const searchConfig: ISearchConfig = {
  pageName: 'role',
  labelWidth: '100px',
  formItems: [
    {
      type: 'input',
      prop: 'name',
      label: '部门名称',
      placeholder: '请输入部门名称',
      initalValue: '',
      // :lg="8" :md="8" :sm="12"
      lg: 8,
      md: 8,
      sm: 12
    },
    {
      type: 'input',
      prop: 'leader',
      label: '部门领导',
      placeholder: '请输入部门领导',
      initalValue: '',
      lg: 8,
      md: 8,
      sm: 12
    },
    {
      type: 'date-picker',
      prop: 'createAt',
      label: '创建时间',
      timeType: 'daterange',
      startPlaceholder: '开始时间',
      endPlaceholder: '结束时间',
      format: 'YYYY-MM-DD HH:mm:ss',
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      rangeSeparator: '-',
      initalValue: '',
      lg: 8,
      md: 8,
      sm: 12
    }
  ]
}

export default searchConfig
